home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Enlighten DSM 3.1
/
SGI EnlightenDSM 3.1.iso
/
DEC3240
/
COMMON.Z
/
COMMON
/
config
/
cmds
next >
Wrap
Text File
|
1999-04-16
|
9KB
|
247 lines
#
# Copyright (c) 1990-1999 Enlighten Software Solutions, Inc.
# -- All Rights Reserved --
#
#
# Commands for DEC OSF/1
#
AT /usr/bin/at
BANNER /usr/bin/banner
ACCEPT /usr/lib/accept %
ALLPRINTERS grep '|' /etc/printcap | cut -d'|' -f1
ALLPRINTCLASS grep '|' /etc/printcap | cut -d'|' -f2 | tr ':\\' ' '
ATTPS /usr/bin/ps
# ATTPSEF /usr/bin/ps -ef | $ENLIGHTEN/bin/e_col \
# 0:8L8 8:6r6 14:7r7 21:3R3 24:9R9 8:1l1 33:7L11 40:0-0
ATTPSEF /usr/bin/ps xgww -o user,pid,ppid,pcpu,start,tty,time,command \
| $ENLIGHTEN/bin/e_col \
0:8L8 8:6r7 14:7r7 21:4R4 25:9R9 34:8r8 46:0-0
UCBPSAUX /usr/bin/ps aux
CAT /usr/bin/cat '%'
DFTFIX /usr/bin/df -i
DISABLE /usr/sbin/lpc down '%'
ENABLE /usr/sbin/lpc up '%'
FILETYPE /usr/bin/file '%'
FSCK /usr/sbin/fsck %
DUS /usr/bin/du -k -s % | /usr/bin/awk ' { print $$1 } '
FUSER $ENLIGHTEN/bin/fuser % 2> /dev/null | \
/usr/bin/tr ' ' '\\012' | /usr/bin/sort -u
GETMODELS /usr/bin/ls %
#LPADMIN /usr/sbin/lprsetup
LPADMIN /usr/sbin/lpc %
LPSCHED /usr/sbin/lpc start all
LPSHUT /usr/sbin/lpc stop all
LPSTATA /usr/bin/lpstat -a
LPSTATC /usr/bin/lpstat -c
LPSTATD /usr/bin/lpstat -d
LPSTATO /usr/bin/lpstat -o
LPSTATP /usr/bin/lpstat -p
LPSTATR /usr/bin/lpstat -r
LPSTATT /usr/bin/lpstat -t
LPSTATV /usr/bin/lpstat -v
LPQ /usr/ucb/lpq -P%
LPCSTATUS /usr/etc/lpc status all
MAIL /usr/bin/mail %
MKDIR /usr/bin/mkdir %
MKNOD /usr/sbin/mknod %
NEWALIASES /usr/sbin/newaliases
PACK /usr/bin/pack
RMFR /usr/bin/rm -fr "%"
RMALL /usr/bin/rm -fr
RUPTIME /usr/bin/ruptime -a
RWHOA /usr/bin/rwho -a
SHELL /usr/bin/sh
MOUNT /usr/sbin/mount %
UCBWHO /usr/bin/who
WHO /usr/bin/who -a|grep -E "console|tty"|grep -Ev "LOGIN|id="|tr -d +
WHOU $ENLIGHTEN/bin/whou
ERASE $ENLIGHTEN/bin/erase -v %
RETENSION /usr/bin/mt -f % ret
GETBOOTCMDS /usr/bin/ls /sbin/rc*.d/* | /usr/bin/tr ' ' '\\012'
BOOTFILTER /usr/bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
/usr/bin/sort -u
GETCRONCMDS /usr/bin/ls /var/spool/cron/crontabs/* | \
/usr/bin/tr ' ' '\\012'
CRONFILTER /usr/bin/egrep -v "^\#" % | \
/usr/bin/awk ' { for (i = 6; i <= NF; i++) \
printf ("\%s ", $$i); printf ("\\n"); } ' | \
$ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | /usr/bin/sort -u
# Command to determine if the autologout daemon gets started in an "rc" file.
FINDALDCMD /usr/bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
/usr/bin/fgrep ulogout | /usr/bin/wc -l
# Command to determine if the diskusage watchdog gets started in an "rc" file.
FINDDWDCMD /usr/bin/cat % | $ENLIGHTEN/bin/shpp | \
$ENLIGHTEN/bin/shcmd | \
/usr/bin/fgrep bin/watchdisk | /usr/bin/wc -l
# Command to determine if the network watchdog gets started in an "rc" file.
FINDNETDWDCMD /usr/bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
/usr/bin/fgrep bin/netwatchdisk | /usr/bin/wc -l
ENLCANCEL /usr/bin/cancel %
DFT $ENLIGHTEN/bin/dft
EPOOL $ENLIGHTEN/bin/e_pool
LPMOVE $ENLIGHTEN/bin/p_lpmove %
MOTNOTICE "$ENLIGHTEN/bin/xdonotice -label \"ENLIGHTEN utar\" \
-m1 \"Please mount new Volume\""
NETUTAR $ENLIGHTEN/bin/netutar
HEXED $ENLIGHTEN/bin/hexed '%'
MYA2PS $ENLIGHTEN/bin/psgen -l2
SNAPDIFF $ENLIGHTEN/bin/p_snapdiff %
SWAP $ENLIGHTEN/bin/p_swap OSF1
ULOGOUT $ENLIGHTEN/bin/ulogout %
ADDUSERCMD /usr/bin/sh $ENLIGHTEN/scripts/adduser.rc
MODUSERCMD /usr/bin/sh $ENLIGHTEN/scripts/moduser.rc
DELUSERCMD /usr/bin/sh $ENLIGHTEN/scripts/deluser.rc
DELHOMECMD /usr/bin/sh $ENLIGHTEN/scripts/delhome.rc
PPING $ENLIGHTEN/bin/p_ping -s
REMLP $ENLIGHTEN/bin/remlp
RFDIST $ENLIGHTEN/bin/rfdist
SECVITAL $ENLIGHTEN/bin/secvital
SECDEVICE $ENLIGHTEN/bin/secdevice
SECPASSWD $ENLIGHTEN/bin/sectcbpasswd
SECGROUP $ENLIGHTEN/bin/secgroup
SECHOME $ENLIGHTEN/bin/sechome
SECBOOT $ENLIGHTEN/bin/secboot
SECCRON $ENLIGHTEN/bin/seccron
SECBREAKIN $ENLIGHTEN/bin/secbreakin
WATCHDISK $ENLIGHTEN/bin/watchdisk % &
NETWATCHDISK $ENLIGHTEN/bin/netwatchdisk % &
XWATCHDOG $ENLIGHTEN/bin/xwatchdog -iconic % &
P_WIZPRINTER $ENLIGHTEN/bin/p_wizprinter %
P_WIZDISK $ENLIGHTEN/bin/p_wizdisk %
P_WIZUSER $ENLIGHTEN/bin/p_wizuser %
P_VULNERABLE $ENLIGHTEN/bin/p_vulnerable %
E_FINDKEY $ENLIGHTEN/bin/e_findkey %
E_NIPMASTER $ENLIGHTEN/bin/e_nipmaster
P_ALLDISKS $ENLIGHTEN/bin/p_alldisks
P_PARTITIONS $ENLIGHTEN/bin/p_partition %
P_MAKEDEV $ENLIGHTEN/bin/p_makedev OSF1 %
P_FORMAT $ENLIGHTEN/bin/p_format OSF1 %
P_NEWPARTS $ENLIGHTEN/bin/p_newparts %
P_HASFS $ENLIGHTEN/bin/p_hasfs %
MKPASSWD /usr/sbin/mkpasswd
E_TCBSTATUS $ENLIGHTEN/bin/e_tcbstatus
SH /usr/bin/sh
RSH /usr/bin/Rsh
CSH /usr/bin/csh
KSH /usr/bin/ksh
RKSH /usr/bin/ksh -r
TCSH /usr/bin/tcsh
REMCP /usr/bin/rcp
REMSH /usr/bin/rsh
RSHCMD /usr/bin/rsh -l enlcmd %
RLOGIN /usr/bin/rlogin -l enlcmd %
NETCAT $ENLIGHTEN/bin/p_write
TALK /usr/bin/talk %
WINDOWACCESS /usr/bin/X11/xwininfo -root
ENLWINDOW /usr/bin/X11/xterm -e sh -c 'trap exit 1 2 3 4; \
stty sane; clear; % ; echo ; \
echo \"Hit Enter/Return to continue\\c\"; \
read ans; rm -f %; exit' &
FORWINDOW /usr/bin/X11/xterm -e sh -c 'stty sane; clear; % ; echo ; \
echo \"Hit Enter/Return to continue \\c\"; \
read ans; exit'
BACKWINDOW /usr/bin/X11/xterm -e sh -c 'stty sane; clear; % ; echo ; \
echo \"Hit Enter/Return to continue \\c\"; \
read ans; exit' &
YPCAT /usr/bin/ypcat %
YPMAKE (cd /var/yp; make)
YPPASSWDD /usr/sbin/rpc.yppasswdd
TAPEDEVS /usr/bin/ls -1 /dev/rmt*
CRONTAB /usr/bin/crontab %
XMKDIR /usr/bin/mkdir -p
DOMAINNAME /usr/bin/domainname
UNAME /usr/bin/uname -a
NODENAME /usr/bin/uname -n
IFCONFIG /usr/sbin/ifconfig
#LANSCAN /usr/sbin/ifconfig -a
LANSCAN /usr/sbin/netstat -i | /bin/cut -f1 -d' ' | /usr/bin/sort -u
YPWHICH /usr/bin/ypwhich
#SET_HOSTNAME /usr/bin/uname -S
SET_HOSTNAME /usr/bin/hostname
MAKE_CMD /sbin/make
MKDIR /usr/bin/mkdir -p
KILL /usr/bin/kill
XYPCAT /usr/bin/ypcat
YPBIND /usr/sbin/ypbind
YPSERV /usr/sbin/ypserv
YPWHICH /usr/bin/ypwhich
SET_NISMASTER $ENLIGHTEN/bin/set_nis_master
SET_NISSLAVE $ENLIGHTEN/bin/set_nis_slave
SET_NISCLIENT $ENLIGHTEN/bin/set_nis_client
DEL_NIS_CONF $ENLIGHTEN/bin/del_nis_conf
NIS_SCRIPT /sbin/init.d/nis
RCMGR /usr/sbin/rcmgr
SVCSETUP /usr/sbin/svcsetup
#YPINIT /usr/sbin/ypinit
MAKEDBM /usr/var/yp/makedbm
PS_CMD /usr/bin/ps xgww -o user,pid,ppid,pcpu,start,tty,time,command
NAMED /sbin/named
# NFS
MOUNTP /usr/sbin/mount -e
MOUNTNFS $ENLIGHTEN/bin/e_timeout 180 /usr/sbin/mount %
UMOUNT /usr/sbin/umount %
EXPORTFS /usr/bin/showmount -e > /dev/null
SHAREFS /usr/sbin/exportfs
UNEXPORTFS /usr/bin/showmount -e > /dev/null
MOUNTD /usr/sbin/mountd
NFSD /usr/sbin/nfsd
XLPADMIN /usr/sbin/lprsetup
LPSTAT /usr/bin/lpstat -t
#LPSTAT /usr/sbin/lpc status | awk '$1~/:/ || $1=="printing" \
# {if($2!="is")printf("%s ",$1);if($2=="is")print $3}'
LPCANCEL /usr/bin/cancel
STARTLPD rm -f /dev/printer; /usr/lbin/lpd
LPD /usr/lbin/lpd
# clock set/clock sync
SETTIME $ENLIGHTEN/bin/settime
RENLD $ENLIGHTEN/bin/renld
RENLDC $ENLIGHTEN/bin/renldc
REBOOT /usr/sbin/reboot
SHUTDOWN /usr/sbin/shutdown
RWALL /usr/bin/rwall
XCRONTAB /usr/bin/crontab
WALL /usr/sbin/wall
P_SHUTDOWN $ENLIGHTEN/bin/p_shutdown %
STATUSMAP $ENLIGHTEN/bin/sm -p % -x
TELNET /usr/bin/telnet %
LPRCMD /usr/bin/lpr
XENLNALIVE $ENLIGHTEN/bin/xenln_alive